from django.conf.urls.defaults import *

urlpatterns = patterns('myapps.polls.views',
    url(r'^$', 'index', {'limit': 10}, name="polls-index"),
    url(r'^long/$', 'index', {'limit': 30}, name="polls-index-long"),
    url(r'^(?P<poll_id>\d+)/vote/$', 'vote', name="polls-vote"),
    url(r'^(?P<poll_id>\d+)/vote_f/$', 'vote_f', name="polls-vote_f"),
    url(r'^(?P<poll_id>\d+)/$', 'results', name="polls-results"),
    url(r'^create/$', 'create', name="polls-create"),
    url(r'^create_f/$', 'create_f', name="polls-create_f"),
    url(r'^settings/$', 'settings', name="polls-settings"),
    url(r'^settings_f/$', 'settings_f', name="polls-settings_f"),
)
